package com.typ.member.common.enums;

/**
 * @author heran
 * @version 1.0, 2019-05-07 18:25
 */

public enum StatusEnum {

    /**
     * 正常
     */
    NORMAL((byte) 1, "正常"),
    /**
     * 删除
     */
    DELETE((byte) -1, "删除");


    private Byte code;
    private String desc;

    StatusEnum(Byte code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Byte getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }}
